home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_01
/
1001115a
< prev
next >
Wrap
Text File
|
1991-11-21
|
440b
|
21 lines
#!/bin/sh
# Unix script to test return status feature of CMENU
#
cat <<END
This is test.sh running, to test the error status
feature of the CMENU system.
If you type 'e' to return an error status, rmenu should
prompt before returning to the menu. Otherwise, no prompt
should appear issued:
Press just return for normal exit,
or else press 'e' and then the Return key:
END
read char
[ "$char" = e ] && exit 1
exit 0